package com.tanhua.server.exceptions;

import com.tanhua.model.vo.ErrorResult;
import lombok.Data;

//自定义异常
@Data
public class BusinessException extends RuntimeException{

    //错误信息数据
    private ErrorResult result;

    public BusinessException(ErrorResult result) {
        this.result = result;
    }

}
